package com.cjc.hotel.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-cjc-hotel-server-entity-TRoom")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_room")
public class TRoom {
    /**
     * 房编号
     */
    @TableId(value = "room_id", type = IdType.INPUT)
    @ApiModelProperty(value="房编号")
    private String roomId;

    /**
     * 酒店Id
     */
    @TableField(value = "hotel_id")
    @ApiModelProperty(value="酒店Id")
    private Integer hotelId;

    /**
     * 房间图片
     */
    @TableField(value = "image")
    @ApiModelProperty(value="房间图片")
    private String image;

    /**
     * 房间类型id
     */
    @TableField(value = "room_type_id")
    @ApiModelProperty(value="房间类型id")
    private Integer roomTypeId;

    /**
     * 价格
     */
    @TableField(value = "price")
    @ApiModelProperty(value="价格")
    private BigDecimal price;

    /**
     * 是否空闲
     */
    @TableField(value = "is_free")
    @ApiModelProperty(value="是否空闲")
    private Integer isFree;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;
}